package com.nbsaas.boot.nbtask.controller;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Lookup;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Scope("prototype")
@Component
public class Test implements InitializingBean {

    public void test() {
        System.out.println("test");
    }


    @Override
    public void afterPropertiesSet() {
        System.out.println("init test");
    }
}
